Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.001081/0.001081, allocations: 100.2 kB / 16.4 MB, free: 6.461 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.001106/0.001106, allocations: 195.9 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.286/1.286, 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.6965/0.6965, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.83 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 76.17 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01962/0.172, allocations: 16.69 MB / 0.6479 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.1838, allocations: 6.43 MB / 0.6542 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.1855, allocations: 55.88 kB / 0.6542 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003645/0.1892, allocations: 1.286 MB / 0.6555 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.1915, allocations: 0.8713 MB / 0.6563 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.1955, allocations: 1.542 MB / 0.6578 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004291/0.1998, allocations: 3.843 MB / 0.6616 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006015/0.2058, allocations: 4.971 MB / 0.6664 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.2082, allocations: 1.664 MB / 0.6681 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/0.2113, allocations: 1.998 MB / 0.67 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000845/0.2121, allocations: 380 kB / 0.6704 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.214, allocations: 0.8504 MB / 0.6712 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.2156, allocations: 1.486 MB / 0.6727 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.2174, allocations: 1.533 MB / 0.6742 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.2226, allocations: 5.568 MB / 0.6796 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2226, allocations: 0 / 0.6796 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2227, allocations: 4 kB / 0.6796 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001386/0.2228, allocations: 0 / 0.6796 GB, free: 3.527 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005536/0.2283, allocations: 2.73 MB / 0.6823 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2284, allocations: 12.03 kB / 0.6823 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005147/0.2289, allocations: 399.7 kB / 0.6827 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/0.2336, allocations: 0.907 MB / 0.6835 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.2369, allocations: 1.439 MB / 0.6849 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.2371, allocations: 193.5 kB / 0.6851 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/0.2376, allocations: 248.4 kB / 0.6854 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007485/0.2451, allocations: 4.654 MB / 0.6899 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-05/0.2452, allocations: 11.88 kB / 0.6899 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/0.2454, allocations: 112 kB / 0.69 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.2457, allocations: 172.3 kB / 0.6902 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006398/0.2521, allocations: 3.93 MB / 0.694 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/0.2756, allocations: 21.41 MB / 0.7149 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.2781, allocations: 2.256 MB / 0.7171 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009586/0.279, allocations: 0.7264 MB / 0.7179 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.2791, allocations: 15.98 kB / 0.7179 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2791, allocations: 50.42 kB / 0.7179 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.865e-06/0.2791, allocations: 0 / 0.7179 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.005547/0.2847, allocations: 4.191 MB / 0.722 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.2848, allocations: 243.3 kB / 0.7222 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.2864, allocations: 1.171 MB / 0.7234 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.2865, allocations: 37.64 kB / 0.7234 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/0.2872, allocations: 1.187 MB / 0.7246 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.2874, allocations: 260.6 kB / 0.7248 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.2878, allocations: 335 kB / 0.7251 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.288, allocations: 349.9 kB / 0.7255 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2892, allocations: 0.7503 MB / 0.7262 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.2909, allocations: 1.45 MB / 0.7276 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.2935, allocations: 2.189 MB / 0.7298 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.2935, allocations: 8 kB / 0.7298 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003642/0.2972, allocations: 2.262 MB / 0.732 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.2972, allocations: 23.94 kB / 0.732 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.2972, allocations: 24 kB / 0.732 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/0.2973, allocations: 32 kB / 0.7321 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.2989, allocations: 451.1 kB / 0.7325 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.181e-05/0.2989, allocations: 47.86 kB / 0.7325 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.3005, allocations: 235.3 kB / 0.7328 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3007, allocations: 83.98 kB / 0.7328 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002249/0.3029, allocations: 1.585 MB / 0.7344 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001485/0.3044, allocations: 1.368 MB / 0.7357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002336/0.3068, allocations: 2.015 MB / 0.7377 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.91e-05/0.3068, allocations: 8 kB / 0.7377 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003393/0.3102, allocations: 2.066 MB / 0.7397 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3102, allocations: 19.98 kB / 0.7397 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.3103, allocations: 27.94 kB / 0.7398 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/0.3103, allocations: 36 kB / 0.7398 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.3117, allocations: 403.6 kB / 0.7402 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.093e-05/0.3117, allocations: 55.78 kB / 0.7402 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.3133, allocations: 203.4 kB / 0.7404 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.3135, allocations: 83.98 kB / 0.7405 GB, free: 1.039 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003506/0.3138, allocations: 284.2 kB / 0.7408 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.3142, allocations: 106.7 kB / 0.7409 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3157, allocations: 1.091 MB / 0.7419 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3157, allocations: 8 kB / 0.742 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.3158, allocations: 8 kB / 0.742 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3158, allocations: 3.984 kB / 0.742 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.3286, allocations: 10.21 MB / 0.7519 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.3286, allocations: 16 kB / 0.7519 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.3293, allocations: 191.6 kB / 0.7521 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-05/0.3293, allocations: 20 kB / 0.7521 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.3294, allocations: 36 kB / 0.7522 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.039e-05/0.3294, allocations: 27.92 kB / 0.7522 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.637e-05/0.3294, allocations: 23.88 kB / 0.7522 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.3317, allocations: 2.166 MB / 0.7543 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007721/0.3325, allocations: 331.6 kB / 0.7547 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.3328, allocations: 31.94 kB / 0.7547 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.334, allocations: 115.8 kB / 0.7548 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3341, allocations: 95.55 kB / 0.7549 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/0.3342, allocations: 47.94 kB / 0.7549 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00132/0.3355, allocations: 0.8088 MB / 0.7557 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.3356, allocations: 0 / 0.7557 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00306/0.3386, allocations: 0.7383 MB / 0.7565 GB, free: 188 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2868/0.6254, allocations: 2.742 MB / 0.7591 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004338/0.6298, allocations: 2.611 MB / 0.7617 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.6298, allocations: 3.031 kB / 0.7617 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/0.6307, allocations: 0.5774 MB / 0.7622 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.6329, allocations: 254.2 kB / 0.7625 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.6531, allocations: 15.2 MB / 0.7773 GB, free: 102.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.6548, allocations: 2.011 MB / 0.7793 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001939/0.6568, allocations: 0.882 MB / 0.7802 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008122/0.6576, allocations: 0.7286 MB / 0.7809 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.382e-06/0.6576, allocations: 3.938 kB / 0.7809 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.7006, allocations: 30.04 MB / 0.8102 GB, free: 78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.422/10.12, allocations: 7.5 kB / 0.8102 GB, free: 78 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)