Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001968/0.001968, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002252/0.002252, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.578/1.578, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 1.356/1.356, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.869e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007431/0.00746, allocations: 4.814 MB / 0.5246 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004901/0.01236, allocations: 2.485 MB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.01284, allocations: 35.62 kB / 0.527 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.01422, allocations: 411.7 kB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.01565, allocations: 493.7 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009971/0.01665, allocations: 369.7 kB / 0.5282 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.01791, allocations: 0.9485 MB / 0.5292 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.01847, allocations: 319.4 kB / 0.5295 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000763/0.01923, allocations: 482.8 kB / 0.5299 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.01981, allocations: 308.9 kB / 0.5302 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.737e-05/0.01989, allocations: 36 kB / 0.5303 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008405/0.02073, allocations: 374.9 kB / 0.5306 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.02098, allocations: 197.2 kB / 0.5308 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.02127, allocations: 211.4 kB / 0.531 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.02254, allocations: 0.9032 MB / 0.5319 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.02255, allocations: 3.938 kB / 0.5319 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.951e-06/0.02255, allocations: 7.984 kB / 0.5319 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.02256, allocations: 2.75 kB / 0.5319 GB, free: 5.949 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001644/0.02421, allocations: 0.9989 MB / 0.5329 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.02425, allocations: 12.02 kB / 0.5329 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.02574, allocations: 283.9 kB / 0.5332 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.02669, allocations: 0.5039 MB / 0.5336 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.02673, allocations: 33.38 kB / 0.5337 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.712e-05/0.02682, allocations: 51.44 kB / 0.5337 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.02803, allocations: 0.9042 MB / 0.5346 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.02806, allocations: 8.125 kB / 0.5346 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.02811, allocations: 24.36 kB / 0.5346 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.02821, allocations: 68.89 kB / 0.5347 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.02888, allocations: 344 kB / 0.535 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006039/0.03492, allocations: 6.401 MB / 0.5413 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.03545, allocations: 254.1 kB / 0.5415 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.03578, allocations: 95.64 kB / 0.5416 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.03581, allocations: 11.94 kB / 0.5416 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.03585, allocations: 40.02 kB / 0.5417 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.03585, allocations: 0 / 0.5417 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.002201/0.03805, allocations: 0.7352 MB / 0.5424 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.0381, allocations: 55.69 kB / 0.5424 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.03876, allocations: 0.5816 MB / 0.543 GB, free: 10 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.03879, allocations: 29.7 kB / 0.543 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.03914, allocations: 427 kB / 0.5434 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.03928, allocations: 135.7 kB / 0.5436 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.03948, allocations: 123.9 kB / 0.5437 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003301/0.03981, allocations: 0.5514 MB / 0.5442 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.04003, allocations: 113.9 kB / 0.5443 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.04059, allocations: 478.6 kB / 0.5448 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.04185, allocations: 0.6339 MB / 0.5454 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.04186, allocations: 0 / 0.5454 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00133/0.04319, allocations: 0.6672 MB / 0.5461 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.04321, allocations: 8 kB / 0.5461 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.04323, allocations: 8 kB / 0.5461 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.04382, allocations: 141.3 kB / 0.5462 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.04434, allocations: 127.7 kB / 0.5463 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.04898, allocations: 5.323 MB / 0.5515 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.04937, allocations: 35.97 kB / 0.5516 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.04941, allocations: 24.88 kB / 0.5516 GB, free: 488 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0005285/0.04994, allocations: 223.2 kB / 0.5518 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.05005, allocations: 67.67 kB / 0.5519 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009443/0.051, allocations: 397 kB / 0.5522 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.051, allocations: 4 kB / 0.5523 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.05101, allocations: 8.844 kB / 0.5523 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.05102, allocations: 4 kB / 0.5523 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.05283, allocations: 0.9996 MB / 0.5532 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.05284, allocations: 4 kB / 0.5532 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.0531, allocations: 54.64 kB / 0.5533 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.05356, allocations: 132.3 kB / 0.5534 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.05359, allocations: 8 kB / 0.5534 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004498/0.05809, allocations: 5.309 MB / 0.5586 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.05809, allocations: 4 kB / 0.5586 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.05936, allocations: 0.6081 MB / 0.5592 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.0596, allocations: 87.62 kB / 0.5593 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.05966, allocations: 8 kB / 0.5593 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.05991, allocations: 19.97 kB / 0.5593 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.05999, allocations: 32.61 kB / 0.5594 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.06001, allocations: 8 kB / 0.5594 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004301/0.06044, allocations: 364.1 kB / 0.5597 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.06044, allocations: 0 / 0.5597 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006784/0.06112, allocations: 144 kB / 0.5598 GB, free: 7.457 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001636/0.06128, allocations: 113.7 kB / 0.56 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.06272, allocations: 0.8879 MB / 0.5608 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.06272, allocations: 0 / 0.5608 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.06363, allocations: 0.6782 MB / 0.5615 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/0.06462, allocations: 196.9 kB / 0.5617 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.06633, allocations: 0.9792 MB / 0.5626 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.06668, allocations: 298.6 kB / 0.5629 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.06696, allocations: 95.33 kB / 0.563 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.06707, allocations: 36.5 kB / 0.563 GB, free: 4 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.06707, allocations: 4 kB / 0.563 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of Templates: time 0.01673/0.08379, allocations: 7.839 MB / 0.5707 GB, free: 12.45 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.317589121987112]