Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 104.7 kB / 16.4 MB, free: 6.492 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.001253/0.001253, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7679/0.7679, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 66.38 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1575, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00644/0.164, allocations: 4.828 MB / 0.6363 GB, free: 60 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004088/0.1681, allocations: 2.459 MB / 0.6387 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.1687, allocations: 23.81 kB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.1702, allocations: 397.9 kB / 0.6391 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.1716, allocations: 445.7 kB / 0.6395 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1728, allocations: 373.8 kB / 0.6399 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.1744, allocations: 0.9134 MB / 0.6408 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.1753, allocations: 365.2 kB / 0.6411 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007057/0.176, allocations: 346.6 kB / 0.6415 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.1765, allocations: 342.5 kB / 0.6418 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.1766, allocations: 43.98 kB / 0.6418 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006787/0.1773, allocations: 403.1 kB / 0.6422 GB, free: 9.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1774, allocations: 175.4 kB / 0.6424 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.1777, allocations: 322.2 kB / 0.6427 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.1787, allocations: 0.8768 MB / 0.6435 GB, free: 8.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1787, allocations: 0 / 0.6435 GB, free: 8.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1787, allocations: 3.938 kB / 0.6435 GB, free: 8.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.1788, allocations: 4 kB / 0.6436 GB, free: 8.609 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001418/0.1802, allocations: 0.9386 MB / 0.6445 GB, free: 7.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1802, allocations: 12.03 kB / 0.6445 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/0.1803, allocations: 90.7 kB / 0.6446 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.1816, allocations: 199.9 kB / 0.6448 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.1824, allocations: 0.5372 MB / 0.6453 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.1824, allocations: 33.36 kB / 0.6453 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.1825, allocations: 44.38 kB / 0.6454 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.1835, allocations: 0.8446 MB / 0.6462 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.1836, allocations: 7.938 kB / 0.6462 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.1836, allocations: 23.98 kB / 0.6462 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.524e-05/0.1837, allocations: 76.89 kB / 0.6463 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.1845, allocations: 0.5656 MB / 0.6468 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.1886, allocations: 5.639 MB / 0.6523 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.1893, allocations: 462.2 kB / 0.6528 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.1896, allocations: 220.7 kB / 0.653 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1896, allocations: 4 kB / 0.653 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1897, allocations: 42.55 kB / 0.653 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.1897, allocations: 0 / 0.653 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002496/0.1922, allocations: 1.505 MB / 0.6545 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1922, allocations: 59.67 kB / 0.6546 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.1927, allocations: 495 kB / 0.655 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1927, allocations: 29.7 kB / 0.6551 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.193, allocations: 354.8 kB / 0.6554 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.1931, allocations: 122.3 kB / 0.6555 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1932, allocations: 114.2 kB / 0.6556 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1933, allocations: 362.8 kB / 0.656 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.1936, allocations: 201.2 kB / 0.6562 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.194, allocations: 443.3 kB / 0.6566 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.1948, allocations: 0.6874 MB / 0.6573 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1949, allocations: 4 kB / 0.6573 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001268/0.1961, allocations: 0.8091 MB / 0.6581 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1962, allocations: 11.94 kB / 0.6581 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.1962, allocations: 8 kB / 0.6581 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/0.1967, allocations: 160.9 kB / 0.6582 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.1971, allocations: 119.8 kB / 0.6583 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.2006, allocations: 4.344 MB / 0.6626 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.201, allocations: 36.12 kB / 0.6626 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.2011, allocations: 28 kB / 0.6626 GB, free: 3.551 MB / 0.4981 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.0002728/0.2013, allocations: 217.5 kB / 0.6629 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.2014, allocations: 59.25 kB / 0.6629 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.2024, allocations: 0.5968 MB / 0.6635 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2025, allocations: 7.984 kB / 0.6635 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2025, allocations: 4 kB / 0.6635 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2025, allocations: 0 / 0.6635 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.2044, allocations: 1.267 MB / 0.6647 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2044, allocations: 0 / 0.6647 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.2047, allocations: 51.95 kB / 0.6648 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.2051, allocations: 148.3 kB / 0.6649 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.2052, allocations: 15.94 kB / 0.6649 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.2082, allocations: 4.329 MB / 0.6692 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2082, allocations: 0 / 0.6692 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.2092, allocations: 0.7159 MB / 0.6699 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.2095, allocations: 172.3 kB / 0.67 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.2095, allocations: 8 kB / 0.67 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.2098, allocations: 23.97 kB / 0.6701 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.2099, allocations: 27.91 kB / 0.6701 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.2099, allocations: 12 kB / 0.6701 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003358/0.2102, allocations: 334.8 kB / 0.6704 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2102, allocations: 4 kB / 0.6704 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006626/0.2109, allocations: 144 kB / 0.6706 GB, free: 10.8 MB / 0.5137 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.00131/0.2122, allocations: 1.26 MB / 0.6718 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.2138, allocations: 1.037 MB / 0.6728 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.2138, allocations: 0 / 0.6728 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008846/0.2147, allocations: 0.7391 MB / 0.6735 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2157, allocations: 200.4 kB / 0.6737 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/0.2217, allocations: 5.099 MB / 0.6787 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.2222, allocations: 0.9097 MB / 0.6796 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003462/0.2225, allocations: 113.3 kB / 0.6797 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.2228, allocations: 195.4 kB / 0.6799 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.2228, allocations: 0 / 0.6799 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04008/0.2629, allocations: 12.92 MB / 0.6925 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.83, allocations: 15.88 kB / 0.6925 GB, free: 3.934 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)