Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001597/0.001598, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 194.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 69.06 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.215, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0369/0.2519, allocations: 35.01 MB / 0.8178 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.2684, allocations: 10.02 MB / 0.8276 GB, free: 60 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.272, allocations: 151.4 kB / 0.8278 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.2823, allocations: 3.805 MB / 0.8315 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006795/0.2891, allocations: 2.032 MB / 0.8335 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.2945, allocations: 1.956 MB / 0.8354 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009614/0.3041, allocations: 7.978 MB / 0.8432 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.3161, allocations: 9.585 MB / 0.8525 GB, free: 6.395 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.3218, allocations: 3.369 MB / 0.8558 GB, free: 3.016 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006773/0.3286, allocations: 3.742 MB / 0.8595 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002339/0.331, allocations: 0.6797 MB / 0.8601 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004839/0.3359, allocations: 1.443 MB / 0.8615 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004508/0.3404, allocations: 2.62 MB / 0.8641 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007413/0.3479, allocations: 3.097 MB / 0.8671 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.3608, allocations: 10.38 MB / 0.8773 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3608, allocations: 4 kB / 0.8773 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3608, allocations: 0 / 0.8773 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003228/0.3611, allocations: 0 / 0.8773 GB, free: 12.98 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01293/0.3741, allocations: 5.42 MB / 0.8826 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3741, allocations: 8.031 kB / 0.8826 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001797/0.3759, allocations: 0.7023 MB / 0.8832 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005533/0.3815, allocations: 0.9549 MB / 0.8842 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006639/0.3882, allocations: 3.182 MB / 0.8873 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.3885, allocations: 361.9 kB / 0.8876 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.3904, allocations: 464.2 kB / 0.8881 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.4054, allocations: 7.914 MB / 0.8958 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.4056, allocations: 15.88 kB / 0.8958 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007404/0.4063, allocations: 212 kB / 0.896 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004872/0.4068, allocations: 365.1 kB / 0.8964 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.418, allocations: 5.937 MB / 0.9022 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3606/0.7787, allocations: 35.94 MB / 0.9373 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.7819, allocations: 2.143 MB / 0.9394 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.7836, allocations: 1.479 MB / 0.9408 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.711e-05/0.7838, allocations: 17.58 kB / 0.9408 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.7838, allocations: 52.31 kB / 0.9409 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.567e-06/0.7838, allocations: 0 / 0.9409 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01312/0.7969, allocations: 7.542 MB / 0.9482 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.797, allocations: 70.3 kB / 0.9483 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/0.8008, allocations: 1.857 MB / 0.9501 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.8011, allocations: 62 kB / 0.9502 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.8026, allocations: 2.123 MB / 0.9522 GB, free: 99.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006001/0.8032, allocations: 0.5596 MB / 0.9528 GB, free: 99.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/0.8039, allocations: 402.3 kB / 0.9532 GB, free: 99.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.8039, allocations: 306.3 kB / 0.9535 GB, free: 98.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.8055, allocations: 1.061 MB / 0.9545 GB, free: 98.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.8074, allocations: 1.768 MB / 0.9562 GB, free: 97.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.8107, allocations: 3.048 MB / 0.9592 GB, free: 95.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/0.8108, allocations: 10.23 kB / 0.9592 GB, free: 95.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006714/0.8175, allocations: 3.911 MB / 0.963 GB, free: 93.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.8176, allocations: 16.34 kB / 0.9631 GB, free: 93.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/0.8176, allocations: 22.31 kB / 0.9631 GB, free: 93.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.8201, allocations: 0.9326 MB / 0.964 GB, free: 93.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.8221, allocations: 438.8 kB / 0.9644 GB, free: 93.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/0.8374, allocations: 22.76 MB / 0.9866 GB, free: 72.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.8398, allocations: 122.9 kB / 0.9867 GB, free: 72.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.8401, allocations: 98.56 kB / 0.9868 GB, free: 72.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002672/0.8428, allocations: 1.645 MB / 0.9884 GB, free: 71.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006497/0.8434, allocations: 258.5 kB / 0.9887 GB, free: 71.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00503/0.8485, allocations: 3.261 MB / 0.9919 GB, free: 69.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.8485, allocations: 23.34 kB / 0.9919 GB, free: 69.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.8486, allocations: 11.5 kB / 0.9919 GB, free: 69.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.8486, allocations: 7.969 kB / 0.9919 GB, free: 69.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.8601, allocations: 7.545 MB / 0.9993 GB, free: 64.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.8602, allocations: 3.812 kB / 0.9993 GB, free: 64.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008523/0.8611, allocations: 215 kB / 0.9995 GB, free: 64.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/0.8632, allocations: 0.8936 MB / 1 GB, free: 64.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.8633, allocations: 35.64 kB / 1 GB, free: 64.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/0.8781, allocations: 22.73 MB / 1.023 GB, free: 40.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8781, allocations: 7.938 kB / 1.023 GB, free: 40.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.8834, allocations: 3.371 MB / 1.026 GB, free: 37.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.8849, allocations: 0.5293 MB / 1.026 GB, free: 36.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007815/0.8857, allocations: 32 kB / 1.026 GB, free: 36.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.8873, allocations: 91.89 kB / 1.027 GB, free: 36.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/0.8877, allocations: 144.9 kB / 1.027 GB, free: 36.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.8879, allocations: 48 kB / 1.027 GB, free: 36.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00188/0.8898, allocations: 1.221 MB / 1.028 GB, free: 35.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8898, allocations: 4 kB / 1.028 GB, free: 35.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004039/0.8938, allocations: 0.9023 MB / 1.029 GB, free: 34.47 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005208/0.8991, allocations: 3.995 MB / 1.033 GB, free: 30.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005501/0.9046, allocations: 4.423 MB / 1.037 GB, free: 25.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.9046, allocations: 4 kB / 1.037 GB, free: 25.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.908, allocations: 2.998 MB / 1.04 GB, free: 22.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/0.912, allocations: 0.8071 MB / 1.041 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/0.9505, allocations: 25.05 MB / 1.065 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005121/0.9557, allocations: 3.209 MB / 1.068 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002017/0.9577, allocations: 0.5215 MB / 1.069 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/0.9599, allocations: 1.647 MB / 1.07 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of SimCode: time 9.51e-07/0.9599, allocations: 4 kB / 1.07 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/1.143, allocations: 68.99 MB / 1.138 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.59, allocations: 0 / 1.138 GB, free: 2.227 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)