Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 238.8 MB, free: 4.684 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 176.5 kB / 289.1 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03228/0.03228, allocations: 8.795 MB / 348.1 MB, free: 4.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.33 kB / 410.4 MB, free: 42.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.09091, allocations: 51.56 MB / 462 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004813/0.09576, allocations: 4.038 MB / 466 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.09756, allocations: 1.102 MB / 467.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.0978, allocations: 27.88 kB / 467.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.0981, allocations: 135.1 kB / 467.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005869/0.09872, allocations: 250.8 kB / 467.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.099, allocations: 151.8 kB / 467.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.1005, allocations: 1.79 MB / 469.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.1017, allocations: 1.281 MB / 470.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.1023, allocations: 0.6227 MB / 471.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007808/0.1031, allocations: 0.8403 MB / 472.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.1033, allocations: 124 kB / 472.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.1035, allocations: 128 kB / 472.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.1039, allocations: 454.6 kB / 472.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.1045, allocations: 0.7774 MB / 473.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.106, allocations: 2.352 MB / 476 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1061, allocations: 4 kB / 476 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1061, allocations: 0 / 476 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.1061, allocations: 0 / 476 MB, free: 0.7422 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002703/0.1088, allocations: 1.88 MB / 477.9 MB, free: 14.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1089, allocations: 8.031 kB / 477.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.1092, allocations: 167 kB / 478.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1104, allocations: 0.9935 MB / 479 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.1105, allocations: 103.1 kB / 479.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.1106, allocations: 148.1 kB / 479.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.1132, allocations: 1.928 MB / 481.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.1133, allocations: 3.938 kB / 481.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.1134, allocations: 56 kB / 481.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.1134, allocations: 32 kB / 481.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.1156, allocations: 1.599 MB / 482.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006267/0.1219, allocations: 4.847 MB / 487.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1235, allocations: 1.845 MB / 489.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009395/0.1245, allocations: 0.6512 MB / 490.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.1245, allocations: 8.656 kB / 490.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008496/0.1254, allocations: 0.6062 MB / 490.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.374e-06/0.1254, allocations: 4 kB / 490.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004479/0.1299, allocations: 2.768 MB / 493.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.13, allocations: 149.1 kB / 493.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.131, allocations: 0.8009 MB / 494.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.1311, allocations: 45.69 kB / 494.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.1317, allocations: 0.6159 MB / 495.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.1319, allocations: 260.3 kB / 495.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.1321, allocations: 150.6 kB / 495.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1323, allocations: 402.7 kB / 496 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/0.1328, allocations: 405.7 kB / 496.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.1335, allocations: 0.5957 MB / 497 MB, free: 11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.1349, allocations: 0.9933 MB / 498 MB, free: 9.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1349, allocations: 0 / 498 MB, free: 9.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00215/0.1371, allocations: 1.235 MB / 499.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1371, allocations: 8 kB / 499.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.1371, allocations: 4 kB / 499.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004602/0.1376, allocations: 175 kB / 499.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.1382, allocations: 159.7 kB / 499.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.1413, allocations: 2.739 MB / 0.4906 GB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.1419, allocations: 52.02 kB / 0.4906 GB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.142, allocations: 28 kB / 0.4906 GB, free: 5.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008889/0.1429, allocations: 0.5455 MB / 0.4912 GB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.1431, allocations: 94.91 kB / 0.4913 GB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.1433, allocations: 104.3 kB / 0.4914 GB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.1433, allocations: 12 kB / 0.4914 GB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.1433, allocations: 0 / 0.4914 GB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.1433, allocations: 3.984 kB / 0.4914 GB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.1475, allocations: 2.658 MB / 0.494 GB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1475, allocations: 0 / 0.494 GB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.148, allocations: 115.8 kB / 0.4941 GB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003329/0.1483, allocations: 160.8 kB / 0.4942 GB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.051e-05/0.1484, allocations: 39.84 kB / 0.4943 GB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.1511, allocations: 2.684 MB / 0.4969 GB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1511, allocations: 64 / 0.4969 GB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.1533, allocations: 1.727 MB / 0.4986 GB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.1537, allocations: 256 kB / 0.4988 GB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.1539, allocations: 31.92 kB / 0.4989 GB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.1543, allocations: 47.95 kB / 0.4989 GB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.1545, allocations: 68.55 kB / 0.499 GB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.1545, allocations: 24 kB / 0.499 GB, free: 12.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000694/0.1552, allocations: 0.5653 MB / 0.4995 GB, free: 12.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1552, allocations: 0 / 0.4995 GB, free: 12.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009705/0.1562, allocations: 272 kB / 0.4998 GB, free: 11.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.1564, allocations: 144.6 kB / 0.4999 GB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.1583, allocations: 1.129 MB / 0.501 GB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1583, allocations: 0 / 0.501 GB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.1593, allocations: 0.6821 MB / 0.5017 GB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.1604, allocations: 206.7 kB / 0.5019 GB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/0.1656, allocations: 3.454 MB / 0.5053 GB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.1668, allocations: 1.501 MB / 0.5067 GB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006029/0.1674, allocations: 226.5 kB / 0.507 GB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.1676, allocations: 63.42 kB / 0.507 GB, free: 4.25 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1676, allocations: 0 / 0.507 GB, free: 4.25 MB / 350.1 MB Notification: Performance of Templates: time 0.02083/0.1885, allocations: 12.68 MB / 0.5194 GB, free: 7.715 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)