Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001926/0.001926, allocations: 93.47 kB / 19.44 MB, free: 332 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.002063/0.002063, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.617 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.332/1.332, allocations: 154.8 MB / 414.4 MB, free: 456 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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 4.922 kB / 0.5199 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.708e-05, allocations: 8.516 kB / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005956/0.005983, allocations: 3.727 MB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003691/0.009675, allocations: 1.826 MB / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.009893, allocations: 23.75 kB / 0.5253 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009623/0.01086, allocations: 263.8 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007452/0.0116, allocations: 325.3 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.01222, allocations: 253.8 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007942/0.01302, allocations: 0.6205 MB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004265/0.01344, allocations: 234.6 kB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.01399, allocations: 333 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.01436, allocations: 203.4 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.01442, allocations: 28.5 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.01489, allocations: 256.7 kB / 0.5277 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.01507, allocations: 135.6 kB / 0.5279 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.01526, allocations: 139.6 kB / 0.528 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000882/0.01614, allocations: 0.6035 MB / 0.5286 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.01614, allocations: 1.281 kB / 0.5286 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.502e-06/0.01614, allocations: 0 / 0.5286 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.01615, allocations: 0 / 0.5286 GB, free: 9.383 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001326/0.01748, allocations: 0.7822 MB / 0.5293 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.01752, allocations: 8.031 kB / 0.5294 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009933/0.01851, allocations: 192.8 kB / 0.5295 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007184/0.01923, allocations: 374.1 kB / 0.5299 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.01926, allocations: 24.97 kB / 0.5299 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.01933, allocations: 32.36 kB / 0.5299 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.02024, allocations: 0.5709 MB / 0.5305 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.02027, allocations: 8.922 kB / 0.5305 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.0203, allocations: 12 kB / 0.5305 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.539e-05/0.02038, allocations: 44.62 kB / 0.5306 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.02093, allocations: 250.3 kB / 0.5308 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.02488, allocations: 3.624 MB / 0.5343 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.02545, allocations: 205 kB / 0.5345 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.02565, allocations: 79.66 kB / 0.5346 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.02568, allocations: 5.562 kB / 0.5346 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.02573, allocations: 49.31 kB / 0.5347 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.02573, allocations: 0 / 0.5347 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.001846/0.02757, allocations: 0.5636 MB / 0.5352 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.02763, allocations: 60.88 kB / 0.5353 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.0281, allocations: 430.5 kB / 0.5357 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.02813, allocations: 29.7 kB / 0.5357 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.02837, allocations: 302.8 kB / 0.536 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.02848, allocations: 108.5 kB / 0.5361 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.02862, allocations: 95.75 kB / 0.5362 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003195/0.02894, allocations: 0.5235 MB / 0.5367 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.02915, allocations: 85.66 kB / 0.5368 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.02955, allocations: 300.5 kB / 0.5371 GB, free: 208 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.03021, allocations: 412.6 kB / 0.5375 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.03021, allocations: 0 / 0.5375 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000936/0.03114, allocations: 458.6 kB / 0.5379 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.03117, allocations: 8 kB / 0.5379 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.03118, allocations: 4 kB / 0.5379 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.0315, allocations: 80.45 kB / 0.538 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.03186, allocations: 87.88 kB / 0.5381 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.03188, allocations: 8.531 kB / 0.5381 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.03212, allocations: 34.09 kB / 0.5381 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.03214, allocations: 12 kB / 0.5381 GB, free: 15.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.03236, allocations: 200.4 kB / 0.5383 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.03246, allocations: 53.22 kB / 0.5384 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.03322, allocations: 320.6 kB / 0.5387 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.03323, allocations: 11.88 kB / 0.5387 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.03324, allocations: 1.125 kB / 0.5387 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.03324, allocations: 4 kB / 0.5387 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.03485, allocations: 0.7545 MB / 0.5394 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.03485, allocations: 3.984 kB / 0.5394 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.03508, allocations: 43.97 kB / 0.5395 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.03531, allocations: 72.52 kB / 0.5395 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.03534, allocations: 12 kB / 0.5396 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.03535, allocations: 5.453 kB / 0.5396 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.03535, allocations: 7.938 kB / 0.5396 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.03613, allocations: 482.1 kB / 0.54 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.0363, allocations: 61.12 kB / 0.5401 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.03635, allocations: 4 kB / 0.5401 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.03656, allocations: 15.98 kB / 0.5401 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.03663, allocations: 31.89 kB / 0.5401 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.03665, allocations: 5.344 kB / 0.5401 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002837/0.03694, allocations: 275.1 kB / 0.5404 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03694, allocations: 0 / 0.5404 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004219/0.03736, allocations: 92.88 kB / 0.5405 GB, free: 12.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.03751, allocations: 105.2 kB / 0.5406 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007085/0.03822, allocations: 303.8 kB / 0.5409 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.03823, allocations: 4.5 kB / 0.5409 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.03857, allocations: 158.8 kB / 0.541 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.03927, allocations: 128.5 kB / 0.5412 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.04049, allocations: 0.6793 MB / 0.5418 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.04075, allocations: 221 kB / 0.542 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.04096, allocations: 68.91 kB / 0.5421 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.04105, allocations: 29.25 kB / 0.5421 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.04105, allocations: 0 / 0.5421 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.01124/0.05229, allocations: 4.797 MB / 0.5468 GB, free: 6.168 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.28199626901187]