Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008658/0.008658, allocations: 170 kB / 16.26 MB, free: 6.613 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.978/1.978, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4505/0.4505, allocations: 40 MB / 310.7 MB, free: 9.898 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008767/0.000877, allocations: 20 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1674, allocations: 57.96 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.316/0.4836, allocations: 18.58 MB / 456 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.4959, allocations: 4.867 MB / 460.9 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/0.5005, allocations: 126 kB / 461 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005123/0.5057, allocations: 1.239 MB / 462.2 MB, free: 34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.5179, allocations: 2.088 MB / 464.3 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005588/0.5236, allocations: 1.171 MB / 465.5 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01763/0.5412, allocations: 12.69 MB / 478.2 MB, free: 28.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0451/0.5863, allocations: 25.42 MB / 0.4918 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/0.5986, allocations: 4.622 MB / 0.4963 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.6111, allocations: 5.584 MB / 0.5018 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004111/0.6153, allocations: 0.6857 MB / 0.5024 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007416/0.6227, allocations: 0.8854 MB / 0.5033 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007834/0.6306, allocations: 2.386 MB / 0.5056 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01695/0.6476, allocations: 5.66 MB / 0.5111 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03592/0.6835, allocations: 22.22 MB / 0.5328 GB, free: 3.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6836, allocations: 4 kB / 0.5328 GB, free: 3.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.6836, allocations: 4 kB / 0.5328 GB, free: 3.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008455/0.6844, allocations: 0 / 0.5328 GB, free: 3.836 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.0377/0.7222, allocations: 12.03 MB / 0.5446 GB, free: 7.797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7222, allocations: 12.03 kB / 0.5446 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.066/0.7882, allocations: 12.48 MB / 0.5568 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/0.8072, allocations: 6.572 MB / 0.5632 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001726/0.809, allocations: 0.9108 MB / 0.5641 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009247/0.8183, allocations: 1.187 MB / 0.5653 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05833/0.8766, allocations: 19.05 MB / 0.5839 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007736/0.8775, allocations: 23.75 kB / 0.5839 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008276/0.8857, allocations: 0.4916 MB / 0.5844 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/0.8875, allocations: 0.6856 MB / 0.5851 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05427/0.9418, allocations: 19.84 MB / 0.6044 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6751/1.617, allocations: 62.41 MB / 0.6654 GB, free: 95.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02695/1.644, allocations: 20.17 MB / 0.6851 GB, free: 81.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01023/1.654, allocations: 4.63 MB / 0.6896 GB, free: 79.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008593/1.655, allocations: 239.5 kB / 0.6898 GB, free: 79.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/1.655, allocations: 109.8 kB / 0.6899 GB, free: 79.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 1.002e-05/1.655, allocations: 0 / 0.6899 GB, free: 79.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02462/1.68, allocations: 12.57 MB / 0.7022 GB, free: 74.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/1.68, allocations: 120 kB / 0.7023 GB, free: 74.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01753/1.698, allocations: 8.726 MB / 0.7108 GB, free: 71.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001592/1.699, allocations: 135.1 kB / 0.711 GB, free: 71.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003919/1.703, allocations: 4.598 MB / 0.7155 GB, free: 67.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005011/1.708, allocations: 2.263 MB / 0.7177 GB, free: 65.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/1.71, allocations: 0.6284 MB / 0.7183 GB, free: 65.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/1.71, allocations: 305.1 kB / 0.7186 GB, free: 64.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007517/1.718, allocations: 4.198 MB / 0.7227 GB, free: 62.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/1.729, allocations: 7.239 MB / 0.7297 GB, free: 56.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01708/1.746, allocations: 12.42 MB / 0.7419 GB, free: 47.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.746, allocations: 28.41 kB / 0.7419 GB, free: 47.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02274/1.769, allocations: 12.41 MB / 0.754 GB, free: 37.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/1.769, allocations: 52.19 kB / 0.7541 GB, free: 37.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/1.769, allocations: 96 kB / 0.7541 GB, free: 37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009485/1.77, allocations: 428.8 kB / 0.7546 GB, free: 36.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007128/1.777, allocations: 2.09 MB / 0.7566 GB, free: 34.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/1.783, allocations: 8.938 MB / 0.7653 GB, free: 24.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009808/1.792, allocations: 1.396 MB / 0.7667 GB, free: 23.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002769/1.795, allocations: 403.9 kB / 0.7671 GB, free: 22.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01472/1.81, allocations: 4.66 MB / 0.7716 GB, free: 18.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/1.812, allocations: 0.7136 MB / 0.7723 GB, free: 17.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.829, allocations: 11.06 MB / 0.7831 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-05/1.829, allocations: 68 kB / 0.7832 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.829, allocations: 15.92 kB / 0.7832 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-05/1.829, allocations: 31.88 kB / 0.7832 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5856/2.414, allocations: 159.2 MB / 0.9387 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005878/2.415, allocations: 88 kB / 0.9388 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007221/2.422, allocations: 1.572 MB / 0.9403 GB, free: 98.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/2.424, allocations: 384.8 kB / 0.9407 GB, free: 98.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002283/2.426, allocations: 255.8 kB / 0.9409 GB, free: 98.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006352/2.432, allocations: 8.807 MB / 0.9495 GB, free: 88.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.462e-05/2.432, allocations: 135.4 kB / 0.9497 GB, free: 88.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03305/2.466, allocations: 18.87 MB / 0.9681 GB, free: 68.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007013/2.473, allocations: 2.056 MB / 0.9701 GB, free: 66.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003804/2.476, allocations: 243.9 kB / 0.9703 GB, free: 65.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009455/2.486, allocations: 0.5698 MB / 0.9709 GB, free: 65.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002565/2.489, allocations: 0.7419 MB / 0.9716 GB, free: 64.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001896/2.49, allocations: 316 kB / 0.9719 GB, free: 64.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01571/2.506, allocations: 6.117 MB / 0.9779 GB, free: 58.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.102e-06/2.506, allocations: 4 kB / 0.9779 GB, free: 58.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01568/2.522, allocations: 2.678 MB / 0.9805 GB, free: 55.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003092/2.525, allocations: 0.4969 MB / 0.981 GB, free: 55.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01811/2.543, allocations: 10.62 MB / 0.9914 GB, free: 44.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.819e-05/2.543, allocations: 12 kB / 0.9914 GB, free: 44.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009503/2.553, allocations: 5.52 MB / 0.9968 GB, free: 38.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09087/2.644, allocations: 1.515 MB / 0.9982 GB, free: 37.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06022/2.704, allocations: 29.64 MB / 1.027 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3231/3.027, allocations: 7.882 MB / 1.035 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0126/3.04, allocations: 3.657 MB / 1.038 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003537/3.043, allocations: 0.5988 MB / 1.039 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.603e-06/3.043, allocations: 0 / 1.039 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1906/3.234, allocations: 99.49 MB / 1.136 GB, free: 88.37 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) Environment - environmentSimulation: