Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007111/0.0007111, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009317/0.001643, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006994/0.0006994, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008618/0.001561, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09211/1.125, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7871/0.7871, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2727/1.06, allocations: 49.13 MB / 448.4 MB, free: 6.004 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 4.484 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.297e-06/1.038e-05, allocations: 3.719 kB / 449.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.006129/0.006139, allocations: 6.927 MB / 456.6 MB, free: 13.82 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.01078, allocations: 2.577 MB / 459.2 MB, free: 11.26 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008721/0.01165, allocations: 75.31 kB / 459.3 MB, free: 11.19 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008506/0.0125, allocations: 357.3 kB / 459.6 MB, free: 10.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.01408, allocations: 0.9656 MB / 460.6 MB, free: 9.871 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000996/0.01508, allocations: 0.5718 MB / 461.2 MB, free: 9.305 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.01739, allocations: 2.351 MB / 463.5 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.01862, allocations: 1.021 MB / 464.5 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.02048, allocations: 1.329 MB / 465.9 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.02177, allocations: 0.9346 MB / 466.8 MB, free: 3.629 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.02199, allocations: 113.2 kB / 466.9 MB, free: 3.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.02255, allocations: 247.7 kB / 467.2 MB, free: 3.277 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.02296, allocations: 0.5142 MB / 467.7 MB, free: 2.762 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.02348, allocations: 459.8 kB / 468.1 MB, free: 2.312 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.02477, allocations: 1.21 MB / 469.3 MB, free: 1.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.767e-05/0.02479, allocations: 0.6875 kB / 469.3 MB, free: 1.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02479, allocations: 4 kB / 469.3 MB, free: 1.094 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.301e-05/0.02486, allocations: 1.312 kB / 469.3 MB, free: 1.094 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002099/0.02696, allocations: 2.001 MB / 471.3 MB, free: 15.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.02699, allocations: 8.781 kB / 471.3 MB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.02904, allocations: 0.8093 MB / 472.1 MB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.03014, allocations: 0.8784 MB / 473 MB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.03019, allocations: 87.59 kB / 473.1 MB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.03033, allocations: 136.3 kB / 473.2 MB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.03169, allocations: 1.586 MB / 474.8 MB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.03173, allocations: 22.23 kB / 474.9 MB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.03181, allocations: 56.36 kB / 474.9 MB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.03195, allocations: 166.2 kB / 475.1 MB, free: 11.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.03273, allocations: 0.5967 MB / 475.7 MB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/0.03814, allocations: 7.815 MB / 483.5 MB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.03983, allocations: 1.35 MB / 484.8 MB, free: 1.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.04003, allocations: 155.8 kB / 485 MB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.726e-05/0.04013, allocations: 33.69 kB / 485 MB, free: 0.832 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.04016, allocations: 47.5 kB / 485.1 MB, free: 0.7773 MB / 458.7 MB Notification: Performance of pre-optimization done (n=103): time 4.569e-06/0.04016, allocations: 1.062 kB / 485.1 MB, free: 0.7773 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.002079/0.04224, allocations: 1.249 MB / 486.3 MB, free: 15.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.04228, allocations: 64.41 kB / 486.4 MB, free: 15.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.04282, allocations: 0.7925 MB / 487.2 MB, free: 14.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.04286, allocations: 42.33 kB / 487.2 MB, free: 14.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.04315, allocations: 0.6702 MB / 487.9 MB, free: 13.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.04335, allocations: 396.5 kB / 488.3 MB, free: 13.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.04359, allocations: 271.2 kB / 488.5 MB, free: 13.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.04367, allocations: 309.1 kB / 488.8 MB, free: 12.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.04388, allocations: 176.4 kB / 489 MB, free: 12.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.04429, allocations: 0.6739 MB / 489.7 MB, free: 11.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.04508, allocations: 0.9995 MB / 490.7 MB, free: 10.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.04509, allocations: 4 kB / 490.7 MB, free: 10.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001193/0.04629, allocations: 1.065 MB / 491.7 MB, free: 9.586 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.04631, allocations: 12 kB / 491.8 MB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.04633, allocations: 19.94 kB / 491.8 MB, free: 9.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.04678, allocations: 227.5 kB / 492 MB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.04747, allocations: 354.9 kB / 492.3 MB, free: 8.961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.05189, allocations: 9.587 MB / 0.4902 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.05256, allocations: 51.94 kB / 0.4902 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.05263, allocations: 58.56 kB / 0.4903 GB, free: 14.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 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%), (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.0003655/0.053, allocations: 212.7 kB / 0.4905 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.05314, allocations: 115.9 kB / 0.4906 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009155/0.05405, allocations: 0.7797 MB / 0.4914 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.05406, allocations: 12 kB / 0.4914 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.05406, allocations: 0 / 0.4914 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.05407, allocations: 7.922 kB / 0.4914 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.05601, allocations: 1.582 MB / 0.4929 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.05601, allocations: 4 kB / 0.4929 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.05642, allocations: 183.8 kB / 0.4931 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.05669, allocations: 183 kB / 0.4933 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/0.05707, allocations: 210.9 kB / 0.4935 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.05711, allocations: 28 kB / 0.4935 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.06191, allocations: 9.564 MB / 0.5028 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.06192, allocations: 8.438 kB / 0.5028 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.06321, allocations: 0.9544 MB / 0.5038 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.06336, allocations: 31.94 kB / 0.5038 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.06377, allocations: 20.94 kB / 0.5038 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.06393, allocations: 102.2 kB / 0.5039 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.06398, allocations: 31.98 kB / 0.504 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003386/0.06432, allocations: 364.9 kB / 0.5043 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.06432, allocations: 2.5 kB / 0.5043 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001264/0.06559, allocations: 396 kB / 0.5047 GB, free: 14.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 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%), (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.0002067/0.06579, allocations: 126.2 kB / 0.5048 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.06765, allocations: 1.636 MB / 0.5064 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.127e-05/0.06772, allocations: 39.92 kB / 0.5064 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.06876, allocations: 1.23 MB / 0.5076 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.06998, allocations: 467 kB / 0.5081 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/0.07931, allocations: 2.573 MB / 0.5106 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.07968, allocations: 357.3 kB / 0.5109 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007059/0.08039, allocations: 184.3 kB / 0.5111 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/0.08102, allocations: 321.1 kB / 0.5114 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of SimCode: time 1.793e-06/0.08103, allocations: 0 / 0.5114 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of Templates: time 0.02894/0.11, allocations: 19.1 MB / 0.5301 GB, free: 4.93 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.038198921829462]