Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.0009546/0.0009546, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6646/0.6646, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 68.62 kB / 0.5577 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1308, allocations: 76.18 MB / 0.6321 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004484/0.1354, allocations: 3.725 MB / 0.6357 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1378, allocations: 1.796 MB / 0.6375 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.138, allocations: 19.88 kB / 0.6375 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.1387, allocations: 262.7 kB / 0.6377 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005563/0.1393, allocations: 294.4 kB / 0.638 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.1398, allocations: 250.2 kB / 0.6383 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.1403, allocations: 0.6088 MB / 0.6389 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.1407, allocations: 263 kB / 0.6391 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.141, allocations: 239.1 kB / 0.6393 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.1413, allocations: 227 kB / 0.6395 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.1413, allocations: 28 kB / 0.6396 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.1417, allocations: 271.4 kB / 0.6398 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1418, allocations: 123.6 kB / 0.6399 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.142, allocations: 210.8 kB / 0.6402 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.1426, allocations: 0.5917 MB / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1426, allocations: 0 / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1426, allocations: 0 / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1426, allocations: 0 / 0.6407 GB, free: 11.39 MB / 494.1 MB 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.0009893/0.1436, allocations: 0.7401 MB / 0.6415 GB, free: 10.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.1436, allocations: 15.91 kB / 0.6415 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.1445, allocations: 136.2 kB / 0.6416 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.145, allocations: 399.6 kB / 0.642 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.145, allocations: 21.03 kB / 0.642 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.145, allocations: 32.36 kB / 0.642 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/0.1458, allocations: 0.5472 MB / 0.6426 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1458, allocations: 7.938 kB / 0.6426 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.1459, allocations: 15.98 kB / 0.6426 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.1459, allocations: 48.53 kB / 0.6426 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.1466, allocations: 405.7 kB / 0.643 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.1491, allocations: 3.333 MB / 0.6463 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.1497, allocations: 342.3 kB / 0.6466 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.15, allocations: 176.8 kB / 0.6468 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.15, allocations: 4 kB / 0.6468 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.15, allocations: 38.56 kB / 0.6468 GB, free: 4.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.15, allocations: 0 / 0.6468 GB, free: 4.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.001858/0.1519, allocations: 1.07 MB / 0.6479 GB, free: 3.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.1519, allocations: 51.64 kB / 0.6479 GB, free: 3.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1522, allocations: 337.6 kB / 0.6482 GB, free: 3.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1523, allocations: 29.7 kB / 0.6483 GB, free: 3.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1524, allocations: 247.5 kB / 0.6485 GB, free: 2.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.1525, allocations: 90.73 kB / 0.6486 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.1526, allocations: 81.94 kB / 0.6487 GB, free: 2.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1527, allocations: 354.8 kB / 0.649 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.153, allocations: 144.8 kB / 0.6491 GB, free: 2.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.1533, allocations: 294.5 kB / 0.6494 GB, free: 1.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.154, allocations: 476.7 kB / 0.6499 GB, free: 1.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.154, allocations: 0 / 0.6499 GB, free: 1.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001005/0.155, allocations: 0.5619 MB / 0.6504 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1551, allocations: 11.98 kB / 0.6504 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1551, allocations: 4 kB / 0.6504 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.1554, allocations: 91.08 kB / 0.6505 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.1558, allocations: 95.81 kB / 0.6506 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1558, allocations: 4 kB / 0.6506 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.1561, allocations: 31.91 kB / 0.6506 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.1561, allocations: 20 kB / 0.6507 GB, free: 0.5039 MB / 494.1 MB 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.0002157/0.1563, allocations: 177.6 kB / 0.6508 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.1564, allocations: 43.52 kB / 0.6509 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008934/0.1573, allocations: 467.9 kB / 0.6513 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1573, allocations: 0 / 0.6513 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1573, allocations: 4 kB / 0.6513 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1573, allocations: 0 / 0.6513 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.1587, allocations: 0.963 MB / 0.6523 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1587, allocations: 0 / 0.6523 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.159, allocations: 55.89 kB / 0.6523 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.1592, allocations: 78.61 kB / 0.6524 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1592, allocations: 11.98 kB / 0.6524 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1592, allocations: 0 / 0.6524 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1592, allocations: 7.938 kB / 0.6524 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.16, allocations: 0.5428 MB / 0.6529 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.1602, allocations: 140.6 kB / 0.6531 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.1602, allocations: 4 kB / 0.6531 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1605, allocations: 23.97 kB / 0.6531 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.1606, allocations: 23.91 kB / 0.6531 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1606, allocations: 15.94 kB / 0.6531 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002311/0.1608, allocations: 231.2 kB / 0.6534 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1608, allocations: 4 kB / 0.6534 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004036/0.1612, allocations: 88 kB / 0.6534 GB, free: 13.49 MB / 0.4981 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.0001516/0.1614, allocations: 112.5 kB / 0.6536 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008229/0.1622, allocations: 0.631 MB / 0.6542 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1622, allocations: 0 / 0.6542 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.1627, allocations: 435.1 kB / 0.6546 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.1633, allocations: 143.7 kB / 0.6547 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1644, allocations: 0.7113 MB / 0.6554 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1648, allocations: 0.8312 MB / 0.6562 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.1651, allocations: 75.36 kB / 0.6563 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.1651, allocations: 27.44 kB / 0.6563 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1651, allocations: 4 kB / 0.6563 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.008219/0.1734, allocations: 4.722 MB / 0.6609 GB, free: 5.684 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)