Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002165/0.002165, allocations: 186.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.00108, allocations: 99.73 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004902, allocations: 15.97 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2382, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005686/0.2439, allocations: 4.159 MB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.2486, allocations: 2.357 MB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005648/0.2492, allocations: 23.75 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.2495, allocations: 67.47 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.2508, allocations: 370.8 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.252, allocations: 310.6 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2531, allocations: 0.5913 MB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009653/0.2541, allocations: 420.3 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005088/0.2547, allocations: 267 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.2552, allocations: 286.8 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.2553, allocations: 20 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004826/0.2558, allocations: 143.8 kB / 0.9871 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.256, allocations: 151.5 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2561, allocations: 137.4 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.2569, allocations: 0.6079 MB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2569, allocations: 0 / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2569, allocations: 0 / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.257, allocations: 0 / 0.9879 GB, free: 18.34 MB / 0.6198 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.001532/0.2585, allocations: 0.8237 MB / 0.9887 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2586, allocations: 12.03 kB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.2587, allocations: 94.44 kB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.2602, allocations: 186.8 kB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.2612, allocations: 473.4 kB / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2612, allocations: 36.98 kB / 0.9895 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.2613, allocations: 47.92 kB / 0.9895 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.2627, allocations: 0.8366 MB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.2627, allocations: 11.84 kB / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.2628, allocations: 20 kB / 0.9904 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.263, allocations: 68.95 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.2642, allocations: 0.5694 MB / 0.991 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.2692, allocations: 5.643 MB / 0.9965 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.2702, allocations: 450.3 kB / 0.9969 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.2703, allocations: 7.938 kB / 0.997 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2703, allocations: 47.05 kB / 0.997 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.2703, allocations: 0 / 0.997 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.003623/0.2739, allocations: 1.516 MB / 0.9985 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.274, allocations: 55.41 kB / 0.9985 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.2746, allocations: 0.4912 MB / 0.999 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.2747, allocations: 33.7 kB / 0.999 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.2749, allocations: 354.8 kB / 0.9994 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.275, allocations: 122.3 kB / 0.9995 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2751, allocations: 8 kB / 0.9995 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.2752, allocations: 370.8 kB / 0.9999 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.2756, allocations: 201.1 kB / 1 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.2762, allocations: 443 kB / 1 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.2767, allocations: 255.8 kB / 1.001 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2768, allocations: 0 / 1.001 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001987/0.2787, allocations: 0.8089 MB / 1.002 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.2788, allocations: 10.19 kB / 1.002 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2789, allocations: 8 kB / 1.002 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/0.2797, allocations: 156.9 kB / 1.002 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/0.2805, allocations: 119.8 kB / 1.002 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.2842, allocations: 4.064 MB / 1.006 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.285, allocations: 31.97 kB / 1.006 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.285, allocations: 28 kB / 1.006 GB, free: 14.66 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.2854, allocations: 209.8 kB / 1.006 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.2856, allocations: 67.19 kB / 1.006 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.2885, allocations: 0.6089 MB / 1.007 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.2885, allocations: 7.953 kB / 1.007 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2886, allocations: 4 kB / 1.007 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.2886, allocations: 3.984 kB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.2941, allocations: 1.249 MB / 1.008 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.2942, allocations: 3.953 kB / 1.008 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/0.295, allocations: 60.09 kB / 1.008 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.2961, allocations: 144.1 kB / 1.008 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.2963, allocations: 8 kB / 1.008 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00691/0.3032, allocations: 4.04 MB / 1.012 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.084e-05/0.3033, allocations: 4.031 kB / 1.012 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.3061, allocations: 0.7907 MB / 1.013 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/0.3067, allocations: 168.3 kB / 1.013 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.3069, allocations: 8 kB / 1.013 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/0.3076, allocations: 23.97 kB / 1.013 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.3078, allocations: 39.84 kB / 1.013 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.3079, allocations: 8 kB / 1.013 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008679/0.3088, allocations: 334.8 kB / 1.013 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.41e-07/0.3088, allocations: 3.938 kB / 1.013 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001472/0.3103, allocations: 144 kB / 1.014 GB, free: 6.109 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003596/0.3139, allocations: 1.83 MB / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003383/0.3174, allocations: 1.037 MB / 1.016 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.3174, allocations: 0 / 1.016 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.3195, allocations: 0.7347 MB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/0.3222, allocations: 182.1 kB / 1.017 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.3381, allocations: 9.045 MB / 1.026 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/0.3391, allocations: 0.9297 MB / 1.027 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001001/0.3402, allocations: 113.3 kB / 1.027 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/0.3407, allocations: 203.4 kB / 1.027 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of SimCode: time 1.543e-06/0.3408, allocations: 0 / 1.027 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/0.3966, allocations: 12.19 MB / 1.039 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003273/0.397, allocations: 232.2 kB / 1.039 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.374, allocations: 0 / 1.039 GB, free: 11.37 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)