Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006322/0.006322, allocations: 103.6 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 203.7 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 46.34 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1194, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01786/0.1373, allocations: 16.84 MB / 390 MB, free: 400 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.1468, allocations: 4.244 MB / 394.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.1494, allocations: 115.7 kB / 394.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01556/0.165, allocations: 7.472 MB / 401.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006656/0.1717, allocations: 1.526 MB / 403.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.1752, allocations: 1.208 MB / 404.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009745/0.185, allocations: 8.573 MB / 413.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03511/0.2201, allocations: 22.57 MB / 435.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006608/0.2268, allocations: 4.96 MB / 440.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007795/0.2346, allocations: 5.528 MB / 446.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002476/0.2371, allocations: 1.406 MB / 447.6 MB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.2406, allocations: 1.656 MB / 449.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002383/0.243, allocations: 2.712 MB / 452 MB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2228/0.4658, allocations: 5.377 MB / 457.4 MB, free: 31.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02333/0.4892, allocations: 18.58 MB / 476 MB, free: 28.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4892, allocations: 1.375 kB / 476 MB, free: 28.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4892, allocations: 0 / 476 MB, free: 28.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006616/0.4899, allocations: 3.5 kB / 476 MB, free: 28.05 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.04258/0.5325, allocations: 10.98 MB / 486.9 MB, free: 21.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5326, allocations: 8.969 kB / 487 MB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03072/0.5633, allocations: 5.739 MB / 492.7 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.5744, allocations: 4.857 MB / 497.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006883/0.5752, allocations: 0.7056 MB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005357/0.5805, allocations: 0.9252 MB / 499.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04355/0.6241, allocations: 13.6 MB / 0.5008 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003264/0.6245, allocations: 11.95 kB / 0.5008 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004733/0.6292, allocations: 391 kB / 0.5011 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003752/0.6296, allocations: 456 kB / 0.5016 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03811/0.6677, allocations: 12.82 MB / 0.5141 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09666/0.7644, allocations: 46.46 MB / 0.5595 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.7809, allocations: 17.09 MB / 0.5762 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.7839, allocations: 1.873 MB / 0.578 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.7946, allocations: 5.978 MB / 0.5838 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.7947, allocations: 53.88 kB / 0.5839 GB, free: 11.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.997e-06/0.7947, allocations: 0 / 0.5839 GB, free: 11.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008344/0.803, allocations: 4.32 MB / 0.5881 GB, free: 6.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.8031, allocations: 77.16 kB / 0.5882 GB, free: 6.898 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005866/0.809, allocations: 3.325 MB / 0.5914 GB, free: 3.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.8093, allocations: 57.7 kB / 0.5915 GB, free: 3.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003522/0.8128, allocations: 4.347 MB / 0.5957 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008479/0.8137, allocations: 0.7294 MB / 0.5964 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.8154, allocations: 1.063 MB / 0.5975 GB, free: 13.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8155, allocations: 301.1 kB / 0.5978 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.8185, allocations: 2.048 MB / 0.5998 GB, free: 11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004931/0.8235, allocations: 4.685 MB / 0.6043 GB, free: 5.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008007/0.8315, allocations: 7.097 MB / 0.6113 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.36e-05/0.8316, allocations: 28 kB / 0.6113 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01204/0.8436, allocations: 7.03 MB / 0.6182 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.8437, allocations: 44 kB / 0.6182 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/0.8439, allocations: 92 kB / 0.6183 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000933/0.8448, allocations: 431 kB / 0.6187 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/0.8483, allocations: 1.176 MB / 0.6198 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/0.8535, allocations: 4.378 MB / 0.6241 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/0.8579, allocations: 0.7339 MB / 0.6248 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005748/0.8584, allocations: 300 kB / 0.6251 GB, free: 15.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006577/0.865, allocations: 3.485 MB / 0.6285 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006923/0.8657, allocations: 298 kB / 0.6288 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005248/0.871, allocations: 3.314 MB / 0.632 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003507/0.8745, allocations: 2.543 MB / 0.6345 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.8745, allocations: 4 kB / 0.6345 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.8746, allocations: 11.95 kB / 0.6345 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2487/1.123, allocations: 9.301 MB / 0.6436 GB, free: 184.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.123, allocations: 1.281 kB / 0.6436 GB, free: 184.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/1.125, allocations: 353.5 kB / 0.644 GB, free: 184.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007691/1.126, allocations: 311.9 kB / 0.6443 GB, free: 184.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.126, allocations: 46.48 kB / 0.6443 GB, free: 184.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004771/1.13, allocations: 4.199 MB / 0.6484 GB, free: 182.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.131, allocations: 3.938 kB / 0.6484 GB, free: 182.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006573/1.137, allocations: 4.717 MB / 0.653 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.139, allocations: 0.6016 MB / 0.6536 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/1.139, allocations: 34.94 kB / 0.6536 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.14, allocations: 131.3 kB / 0.6538 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/1.14, allocations: 133.1 kB / 0.6539 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.14, allocations: 58.66 kB / 0.6539 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003035/1.143, allocations: 2.197 MB / 0.6561 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.143, allocations: 0 / 0.6561 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006228/1.15, allocations: 2.065 MB / 0.6581 GB, free: 180.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005207/1.15, allocations: 198.7 kB / 0.6583 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007133/1.157, allocations: 4.72 MB / 0.6629 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.157, allocations: 1.031 kB / 0.6629 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/1.159, allocations: 1.593 MB / 0.6645 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/1.163, allocations: 0.6837 MB / 0.6651 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.187, allocations: 13.91 MB / 0.6787 GB, free: 167.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005218/1.193, allocations: 5.791 MB / 0.6844 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004181/1.197, allocations: 1.828 MB / 0.6862 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/1.197, allocations: 234.8 kB / 0.6864 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/1.197, allocations: 4 kB / 0.6864 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.0605/1.258, allocations: 39.59 MB / 0.7251 GB, free: 122.9 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)