Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.508/1.508, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 50.54 MB / 409 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005542/0.3167, allocations: 3.781 MB / 412.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3188, allocations: 1.024 MB / 413.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.3191, allocations: 23.88 kB / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.3195, allocations: 146.8 kB / 414 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008304/0.3204, allocations: 274.5 kB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.3207, allocations: 139.8 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.3223, allocations: 1.401 MB / 415.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.3238, allocations: 1.178 MB / 417 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009625/0.3247, allocations: 0.6385 MB / 417.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.3258, allocations: 0.755 MB / 418.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.3261, allocations: 156 kB / 418.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.3264, allocations: 164 kB / 418.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.3269, allocations: 462.7 kB / 419.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008755/0.3278, allocations: 0.7311 MB / 419.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.33, allocations: 2.05 MB / 421.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.33, allocations: 4 kB / 421.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.33, allocations: 0 / 421.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.285e-05/0.3301, allocations: 0 / 421.9 MB, free: 4.395 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003239/0.3333, allocations: 1.702 MB / 423.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3334, allocations: 8.031 kB / 423.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/0.3336, allocations: 177.2 kB / 423.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005225/0.3341, allocations: 176 kB / 424 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.3356, allocations: 0.909 MB / 424.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.3357, allocations: 86.16 kB / 425 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.3359, allocations: 108 kB / 425.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.3385, allocations: 1.544 MB / 426.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.3386, allocations: 8 kB / 426.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.3387, allocations: 44 kB / 426.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.3387, allocations: 28 kB / 426.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.3409, allocations: 1.312 MB / 428 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006654/0.3476, allocations: 4.183 MB / 432.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.349, allocations: 1.305 MB / 433.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.3497, allocations: 458.5 kB / 434 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.3498, allocations: 12.38 kB / 434 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.3498, allocations: 35 kB / 434 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.895e-06/0.3499, allocations: 0 / 434 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003586/0.3534, allocations: 1.96 MB / 436 MB, free: 5.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.3535, allocations: 59.83 kB / 436 MB, free: 5.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3547, allocations: 0.8321 MB / 436.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.3548, allocations: 37.7 kB / 436.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.3552, allocations: 0.5506 MB / 437.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.3554, allocations: 182.5 kB / 437.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.3556, allocations: 114.1 kB / 437.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.3558, allocations: 382.8 kB / 438.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.3563, allocations: 304.9 kB / 438.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.3569, allocations: 407.3 kB / 438.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.358, allocations: 0.7028 MB / 439.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.358, allocations: 0 / 439.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001575/0.3596, allocations: 0.9247 MB / 440.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3596, allocations: 4 kB / 440.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3596, allocations: 4 kB / 440.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/0.3599, allocations: 108.8 kB / 440.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.3605, allocations: 123.8 kB / 440.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.3631, allocations: 2.376 MB / 443 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.3635, allocations: 23.98 kB / 443.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.3636, allocations: 20 kB / 443.1 MB, free: 14.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007357/0.3643, allocations: 457.4 kB / 443.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.3644, allocations: 79.53 kB / 443.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.3646, allocations: 91.14 kB / 443.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3646, allocations: 8 kB / 443.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.3646, allocations: 3.938 kB / 443.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3647, allocations: 3.984 kB / 443.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.368, allocations: 2.009 MB / 445.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.368, allocations: 4.156 kB / 445.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.3684, allocations: 88.08 kB / 445.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.3686, allocations: 104.7 kB / 445.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.3687, allocations: 15.98 kB / 445.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.3711, allocations: 2.326 MB / 448.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3711, allocations: 8.094 kB / 448.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.373, allocations: 1.204 MB / 449.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.3732, allocations: 164.7 kB / 449.6 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.3733, allocations: 19.92 kB / 449.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.3737, allocations: 48.02 kB / 449.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3739, allocations: 48.31 kB / 449.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.3739, allocations: 12 kB / 449.8 MB, free: 7.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009071/0.3748, allocations: 0.5927 MB / 450.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3748, allocations: 0 / 450.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007691/0.3756, allocations: 208 kB / 450.5 MB, free: 6.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002209/0.3778, allocations: 1.764 MB / 452.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.3794, allocations: 0.8281 MB / 453.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3794, allocations: 0 / 453.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008097/0.3802, allocations: 488.9 kB / 453.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.3812, allocations: 183.7 kB / 453.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.3941, allocations: 8.636 MB / 462.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.3953, allocations: 1.336 MB / 463.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004875/0.3958, allocations: 189.8 kB / 464 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.3963, allocations: 387.3 kB / 464.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3963, allocations: 3.938 kB / 464.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.4568, allocations: 19.61 MB / 483.9 MB, free: 5.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.27, allocations: 13.75 kB / 484 MB, free: 5.242 MB / 398.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1)